Teaching formal methods lite via testing
نویسندگان
چکیده
A new style of formal methods course is described, based on a pragmatic approach that emphasizes testing. The course introduces students to formal specification using Z, and shows how formal specification and testing can benefit each other, in both the validation and verification phases. It uses a tools-based approach, with practical work that reinforces formal specification techniques as well as traditional software engineering skills, such as unit and system testing, inspection and defensive programming with assertions. The two main results are to identify several practical uses of formal specifications that are not widely practised or taught, and to demonstrate that teaching them results in a more interesting and relevant formal methods course. Copyright 2001 John Wiley & Sons, Ltd.
منابع مشابه
Hi-Lite - Verification by Contract
Formal methods and testing are often considered as disjoint technologies. The Hi-Lite project wants to show that both are actually complementary. The central concept are subprogram contracts, part of the upcoming Ada 2012 standard. A contract, which consists of preand postcondition, describes the specification of a subprogram, in the same syntax as Ada expressions. These contracts can be seen e...
متن کاملWhy Hi-Lite Ada?
Use of formal methods in verification activities for critical software development is a promising solution to increase the level of confidence compared to the current practice based on testing, for increasingly complex programs, at a lower cost than the current approach. Concretely, the upcoming standard DO-178C for software development in avionics gives credit to formal verification for suppor...
متن کاملE-Assessment via Apps/modules, Based on the Post Methods Theorizing
The post methods era has witnessed a dramatic change inapproaches to and methods of teaching as well as testing. At the heart of such a change, collaborative learning has received top priority and testing domain has actually gone under scrutiny. This new mode of education has made stakeholders, especially in higher education; reflect on an interactive e-assessment based instruction. Such a cybe...
متن کاملE-Assessment via Apps/modules, Based on the Post Methods Theorizing
The post methods era has witnessed a dramatic change inapproaches to and methods of teaching as well as testing. At the heart of such a change, collaborative learning has received top priority and testing domain has actually gone under scrutiny. This new mode of education has made stakeholders, especially in higher education; reflect on an interactive e-assessment based instruction. Such a cybe...
متن کاملSpecification-Driven Design with Eiffel and Agents for Teaching Lightweight Formal Methods
We report on our experiences in teaching lightweight formal methods with Eiffel. In particular, we discuss how we introduce formal methods via Eiffel’s design-by-contract and agent technologies, and how we integrate these techniques with test-driven development, in an approach called specification-driven design. This approach demonstrates how formal methods techniques fit with industrial softwa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Softw. Test., Verif. Reliab.
دوره 11 شماره
صفحات -
تاریخ انتشار 2001